/******************************************************************************
*              Copyright (c) Marvell International Ltd. and its affiliates
*
* This software file (the "File") is owned and distributed by Marvell
* International Ltd. and/or its affiliates ("Marvell") under the following
* alternative licensing terms.
* If you received this File from Marvell, you may opt to use, redistribute
* and/or modify this File under the following licensing terms.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*  -   Redistributions of source code must retain the above copyright notice,
*       this list of conditions and the following disclaimer.
*  -   Redistributions in binary form must reproduce the above copyright
*       notice, this list of conditions and the following disclaimer in the
*       documentation and/or other materials provided with the distribution.
*  -    Neither the name of Marvell nor the names of its contributors may be
*       used to endorse or promote products derived from this software without
*       specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************
* mvHwsLion2PortModeElements.c
*
* DESCRIPTION:
*
*
* FILE REVISION NUMBER:
*       $Revision: 7 $
*
*******************************************************************************/

#include <private/mvPortModeElements.h>
#include <common/siliconIf/mvSiliconIf.h>


static MV_HWS_PORT_INIT_PARAMS hwsPort0InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr    Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   0,         GPCS,       0,         FEC_OFF,  _1_25G,    0,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    0,         GPCS,       0,         FEC_OFF,  _1_25G,    0,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    0,         GPCS,       0,         FEC_OFF,  _3_125G,   0,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  XGMAC,      0,         XPCS,       0,         FEC_OFF,  _3_125G,   0,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KX2,  XGMAC,      0,         XPCS,       0,         FEC_OFF,  _6_25G,    0,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           HGLMAC,     0,         HGLPCS,     0,         FEC_OFF,  _3_125G,   0,         6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {RHGL,          HGLMAC,     0,         HGLPCS,     0,         FEC_OFF,  _6_25G,    0,         3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      0,         XPCS,       0,         FEC_OFF,  _6_25G,    0,         2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  XGMAC,      0,         XPCS,       0,         FEC_OFF,  _6_25G,    0,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_SR_LR,XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _10_3125G, 0,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_12_5GBase_KR, XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _12_5G,    0,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     XLGMAC,     0,         MMPCS,      0,         FEC_OFF,  _12_5G,    0,         4,         0,          XAUI_MEDIA,  _10BIT_OFF},
  {HGL16G,        HGLMAC,     0,         HGLPCS,     0,         FEC_OFF,  _3_33G,    0,         6,         0,        XAUI_MEDIA,    _10BIT_OFF},
  {HGS,           XGMAC,      0,         XPCS,       0,         FEC_OFF,  _3_75G,    0,         4,         0,          XAUI_MEDIA,  _10BIT_OFF},
  {HGS4,          XGMAC,      0,         XPCS,       0,         FEC_OFF,  _5G,       0,         4,         0,          XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     0,          MMPCS,      0,          FEC_OFF,        _12_1875G,  0,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   XLGMAC,     0,          MMPCS,      0,          FEC_OFF,        _12_1875G,  0,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_12GBase_SR,                 XLGMAC,     0,          MMPCS,      0,          FEC_OFF,        _12_1875G,  0,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 XLGMAC,     0,          MMPCS,      0,          FEC_OFF,        _12_1875G,  0,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort1InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FisrtLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   1,         GPCS,       1,         FEC_OFF,  _1_25G,    1,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    1,         GPCS,       1,         FEC_OFF,  _1_25G,    1,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    1,         GPCS,       1,         FEC_OFF,  _3_125G,   1,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KR,   XLGMAC,     1,         MMPCS,      1,         FEC_OFF,  _10_3125G, 1,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     1,         MMPCS,      1,         FEC_OFF,  _10_3125G, 1,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     1,         MMPCS,      1,         FEC_OFF,  _10_3125G, 1,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     1,          MMPCS,      1,          FEC_OFF,        _12_1875G,  1,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     1,          MMPCS,      1,          FEC_OFF,        _12_1875G,  1,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort2InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FisrtLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   2,         GPCS,       2,         FEC_OFF,  _1_25G,    2,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    2,         GPCS,       2,         FEC_OFF,  _1_25G,    2,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    2,         GPCS,       2,         FEC_OFF,  _3_125G,   2,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  XGMAC,      2,         XPCS,       1,         FEC_OFF,  _6_25G,    2,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     2,         MMPCS,      2,         FEC_OFF,  _10_3125G, 2,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     2,         MMPCS,      2,         FEC_OFF,  _10_3125G, 2,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          HGLMAC,     2,         HGLPCS,     1,         FEC_OFF,  _6_25G,    3,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      2,         XPCS,       1,         FEC_OFF,  _6_25G,    2,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     2,         MMPCS,      2,         FEC_OFF,   _10_3125G,2,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     2,         MMPCS,      2,         FEC_OFF,   _10_3125G,2,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     2,         MMPCS,      2,         FEC_OFF,  _12_5G,    2,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     2,          MMPCS,      2,          FEC_OFF,        _12_1875G,  2,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     2,          MMPCS,      2,          FEC_OFF,        _12_1875G,  2,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort3InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FisrtLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   3,         GPCS,       3,         FEC_OFF,  _1_25G,    3,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    3,         GPCS,       3,         FEC_OFF,  _1_25G,    3,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    3,         GPCS,       3,         FEC_OFF,  _3_125G,   3,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KR,   XLGMAC,     3,         MMPCS,      3,         FEC_OFF,  _10_3125G, 3,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     3,         MMPCS,      3,         FEC_OFF,  _10_3125G, 3,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     3,         MMPCS,      3,         FEC_OFF,  _12_5G,    3,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     3,          MMPCS,      3,          FEC_OFF,        _12_1875G,  3,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     3,          MMPCS,      3,          FEC_OFF,        _12_1875G,  3,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort4InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed     FirstLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,       0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   4,         GPCS,       4,         FEC_OFF,  _1_25G,    6,       1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    4,         GPCS,       4,         FEC_OFF,  _1_25G,    6,       1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    4,         GPCS,       4,         FEC_OFF,  _3_125G,   6,       1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,       0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  XGMAC,      4,         XPCS,       2,         FEC_OFF,  _3_125G,   6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KX2,  XGMAC,      4,         XPCS,       2,         FEC_OFF,  _6_25G,    6,       2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,       0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           HGLMAC,     4,         HGLPCS,     2,         FEC_OFF,  _3_125G,   6,       6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {RHGL,          HGLMAC,     4,         HGLPCS,     2,         FEC_OFF,  _6_25G,    6,       3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,       0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      4,         XPCS,       2,         FEC_OFF,  _6_25G,    6,       2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  XGMAC,      4,         XPCS,       2,         FEC_OFF,  _6_25G,    6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_SR_LR,XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _10_3125G, 6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_12_5GBase_KR, XLGMAC,     4,         MMPCS,      4,         FEC_OFF,  _12_5G,    6,       1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,   XLGMAC,       4,         MMPCS,      4,         FEC_OFF,  _12_5G,    6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL16G,      HGLMAC,       4,         HGLPCS,     4,         FEC_OFF,  _3_33G,    6,       6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS,         XGMAC,        4,         XPCS,       2,         FEC_OFF,  _3_75G,    6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS4,        XGMAC,        4,         XPCS,       2,         FEC_OFF,  _5G,       6,       4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     4,          MMPCS,      4,          FEC_OFF,        _12_1875G,  6,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   XLGMAC,     4,          MMPCS,      4,          FEC_OFF,        _12_1875G,  6,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_12GBase_SR,                 XLGMAC,     4,          MMPCS,      4,          FEC_OFF,        _12_1875G,  6,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 XLGMAC,     4,          MMPCS,      4,          FEC_OFF,        _12_1875G,  6,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort5InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   5,         GPCS,       5,         FEC_OFF,  _1_25G,    7,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    5,         GPCS,       5,         FEC_OFF,  _1_25G,    7,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    5,         GPCS,       5,         FEC_OFF,  _3_125G,   7,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KR,   XLGMAC,     5,         MMPCS,      5,         FEC_OFF,  _10_3125G, 7,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     5,         MMPCS,      5,         FEC_OFF,  _10_3125G, 7,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     5,         MMPCS,      5,         FEC_OFF,  _12_5G,    7,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     5,          MMPCS,      5,          FEC_OFF,        _12_1875G,  7,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     5,          MMPCS,      5,          FEC_OFF,        _12_1875G,  7,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort6InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   6,         GPCS,       6,         FEC_OFF,  _1_25G,    8,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    6,         GPCS,       6,         FEC_OFF,  _1_25G,    8,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    6,         GPCS,       6,         FEC_OFF,  _3_125G,   8,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  XGMAC,      6,         XPCS,       3,         FEC_OFF,  _6_25G,    8,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     6,         MMPCS,      6,         FEC_OFF,  _10_3125G, 8,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     6,         MMPCS,      6,         FEC_OFF,  _10_3125G, 8,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          HGLMAC,     6,         HGLPCS,     3,         FEC_OFF,  _6_25G,    9,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      6,         XPCS,       3,         FEC_OFF,  _6_25G,    8,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     6,         MMPCS,      6,         FEC_OFF,  _10_3125G, 8,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     6,         MMPCS,      6,         FEC_OFF,  _10_3125G, 8,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     6,         MMPCS,      6,         FEC_OFF,  _12_5G,    8,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     6,          MMPCS,      6,          FEC_OFF,        _12_1875G,  8,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     6,          MMPCS,      6,          FEC_OFF,        _12_1875G,  8,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort7InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane  LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   7,         GPCS,       7,         FEC_OFF,  _1_25G,    9,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    7,         GPCS,       7,         FEC_OFF,  _1_25G,    9,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    7,         GPCS,       7,         FEC_OFF,  _3_125G,   9,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KR,   XLGMAC,     7,         MMPCS,      7,         FEC_OFF,  _10_3125G, 9,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     7,         MMPCS,      7,         FEC_OFF,  _10_3125G, 9,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     7,         MMPCS,      7,         FEC_OFF,  _12_5G,    9,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     7,          MMPCS,      7,          FEC_OFF,        _12_1875G,  9,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     7,          MMPCS,      7,          FEC_OFF,        _12_1875G,  9,      1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort8InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr    Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,          0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   8,         GPCS,       8,         FEC_OFF,  _1_25G,    12,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    8,         GPCS,       8,         FEC_OFF,  _1_25G,    12,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    8,         GPCS,       8,         FEC_OFF,  _3_125G,   12,         1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,          0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  XGMAC,      8,         XPCS,       4,         FEC_OFF,  _3_125G,   12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KX2,  XGMAC,      8,         XPCS,       4,         FEC_OFF,  _6_25G,    12,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,          0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           HGLMAC,     8,         HGLPCS,     4,         FEC_OFF,  _3_125G,   12,         6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {RHGL,          HGLMAC,     8,         HGLPCS,     4,         FEC_OFF,  _6_25G,    12,         3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,          0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      8,         XPCS,       4,         FEC_OFF,  _6_25G,    12,         2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  XGMAC,      8,         XPCS,       4,         FEC_OFF,  _6_25G,    12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_SR_LR,XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _10_3125G, 12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_12_5GBase_KR, XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _12_5G,    12,         1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     XLGMAC,     8,         MMPCS,      8,         FEC_OFF,  _12_5G,    12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL16G,        HGLMAC,     8,         HGLPCS,     4,         FEC_OFF,  _3_33G,    12,         6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS,           XGMAC,      8,         XPCS,       4,         FEC_OFF,  _3_75G,    12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS4,          XGMAC,      8,         XPCS,       4,         FEC_OFF,  _5G,       12,         4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     8,          MMPCS,      8,          FEC_OFF,        _12_1875G,  12,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   XLGMAC,     8,          MMPCS,      8,          FEC_OFF,        _12_1875G,  12,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_12GBase_SR,                 XLGMAC,     8,          MMPCS,      8,          FEC_OFF,        _12_1875G,  12,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 XLGMAC,     8,          MMPCS,      8,          FEC_OFF,        _12_1875G,  12,      4,      0,      XAUI_MEDIA,     _10BIT_OFF},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort9InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  /* used here for combo ports implementation, like 1000BaseX, but on extended MAC */
  {_100Base_FX,   GEMAC_X,    12,        GPCS,       12,        FEC_OFF,   _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  { SGMII,        GEMAC_SG,   9,         GPCS,       9,         FEC_OFF,  _1_25G,    13,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    9,         GPCS,       9,         FEC_OFF,  _1_25G,    13,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    9,         GPCS,       9,         FEC_OFF,  _3_125G,   13,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  /* used here for combo ports implementation, like SGMII 1G, but on extended MAC */
  {QSGMII,        GEMAC_SG,   12,        GPCS,       12,        FEC_OFF,   _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_10GBase_KX4,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _3_125G,   18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KX2,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     9,         MMPCS,      9,         FEC_OFF,  _10_3125G, 13,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  /* actually 100G not supported, used here for combo ports implementation, like 10G KR, but on extended MAC */
  {_100GBase_KR10,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,   _10_3125G, 18,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL,           HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _3_125G,   18,        6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {RHGL,          HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _6_25G,    18,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_SR_LR,XLGMAC,     9,         MMPCS,      9,         FEC_OFF,  _10_3125G, 13,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_12_5GBase_KR, XLGMAC,     9,         MMPCS,      9,         FEC_OFF,  _12_5G,    13,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _12_5G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL16G,        HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _3_33G,    18,        6,         0,        XAUI_MEDIA,    _10BIT_OFF},
  {HGS,           XGMAC,      12,        XPCS,       6,         FEC_OFF,  _3_75G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS4,          XGMAC,      12,        XPCS,       6,         FEC_OFF,  _5G,       18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     9,          MMPCS,      9,          FEC_OFF,        _12_1875G,  13,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   XLGMAC,     12,         MMPCS,      12,         FEC_OFF,        _12_1875G,  18,     4,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_12GBase_SR,                 XLGMAC,     9,          MMPCS,      9,          FEC_OFF,        _12_1875G,  13,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 XLGMAC,     12,         MMPCS,      12,         FEC_OFF,        _12_1875G,  18,     4,      0,      XAUI_MEDIA,     _10BIT_OFF},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort10InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  {_100Base_FX,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  { SGMII,        GEMAC_SG,   10,        GPCS,       10,        FEC_OFF,  _1_25G,    14,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    10,        GPCS,       10,        FEC_OFF,  _1_25G,    14,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    10,        GPCS,       10,        FEC_OFF,  _3_125G,   14,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {QSGMII,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  XGMAC,      10,        XPCS,       5,         FEC_OFF,  _6_25G,    14,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     10,        MMPCS,      10,        FEC_OFF,  _10_3125G, 14,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     10,        MMPCS,      10,        FEC_OFF,  _10_3125G, 14,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_KR10,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          HGLMAC,     10,        HGLPCS,     5,         FEC_OFF,  _6_25G,    14,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      10,        XPCS,       5,         FEC_OFF,  _6_25G,    14,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     10,        MMPCS,      10,        FEC_OFF,  _10_3125G, 14,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     10,        MMPCS,      10,        FEC_OFF,  _10_3125G, 14,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     10,        MMPCS,      10,        FEC_OFF,  _12_5G,    14,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     10,         MMPCS,      10,         FEC_OFF,        _12_1875G,  14,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     10,         MMPCS,      10,         FEC_OFF,        _12_1875G,  14,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort11InitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  /* used here for combo ports implementation, like 1000BaseX, but on extended MAC */
  {_100Base_FX,   GEMAC_X,    14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  { SGMII,        GEMAC_SG,   11,        GPCS,       11,        FEC_OFF,  _1_25G,    15,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    11,        GPCS,       11,        FEC_OFF,  _1_25G,    15,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    11,        GPCS,       11,        FEC_OFF,  _3_125G,   15,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  /* used here for combo ports implementation, like SGMII 1G, but on extended MAC */
  {QSGMII,        GEMAC_SG,   14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  XGMAC,      14,        XPCS,       7,         FEC_OFF,  _6_25G,    20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     11,        MMPCS,      11,        FEC_OFF,  _10_3125G, 15,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  /* actually 100G not supported, used here for combo ports implementation, like 10G KR, but on extended MAC */
  {_100GBase_KR10,XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          HGLMAC,     14,        HGLPCS,     7,         FEC_OFF,  _6_25G,    20,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      14,        XPCS,       7,         FEC_OFF,  _6_25G,    20,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     11,        MMPCS,      11,        FEC_OFF,  _10_3125G, 15,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     11,        MMPCS,      11,        FEC_OFF,  _12_5G,    15,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     11,         MMPCS,      11,         FEC_OFF,        _12_1875G,  15,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     11,         MMPCS,      11,         FEC_OFF,        _12_1875G,  15,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort9ExtendedInitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  /* used here for combo ports implementation, like 1000BaseX, but on extended MAC */
  {_100Base_FX,   GEMAC_X,    12,        GPCS,       12,        FEC_OFF,   _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  { SGMII,        GEMAC_SG,   12,        GPCS,       12,         FEC_OFF,  _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    12,         GPCS,      12,         FEC_OFF,  _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    12,         GPCS,      12,         FEC_OFF,  _3_125G,  18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  /* used here for combo ports implementation, like SGMII 1G, but on extended MAC */
  {QSGMII,        GEMAC_SG,   12,        GPCS,       12,        FEC_OFF,   _1_25G,   18,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_10GBase_KX4,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _3_125G,   18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KX2,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  /* actually 100G not supported, used here for combo ports implementation, like 10G KR, but on extended MAC */
  {_100GBase_KR10,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,   _10_3125G, 18,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL,           HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _3_125G,   18,        6,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {RHGL,          HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _6_25G,    18,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  XGMAC,      12,        XPCS,       6,         FEC_OFF,  _6_25G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_SR_LR,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _10_3125G, 18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_12_5GBase_KR, XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _12_5G,    18,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     XLGMAC,     12,        MMPCS,      12,        FEC_OFF,  _12_5G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL16G,        HGLMAC,     12,        HGLPCS,     6,         FEC_OFF,  _3_33G,    18,        6,         0,        XAUI_MEDIA,    _10BIT_OFF},
  {HGS,           XGMAC,      12,        XPCS,       6,         FEC_OFF,  _3_75G,    18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGS4,          XGMAC,      12,        XPCS,       6,         FEC_OFF,  _5G,       18,        4,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     12,         MMPCS,      12,         FEC_OFF,        _12_1875G,  18,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   XLGMAC,     12,         MMPCS,      12,         FEC_OFF,        _12_1875G,  18,     4,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_12GBase_SR,                 XLGMAC,     9,          MMPCS,      9,          FEC_OFF,        _12_1875G,  13,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 XLGMAC,     12,         MMPCS,      12,         FEC_OFF,        _12_1875G,  18,     4,      0,      XAUI_MEDIA,     _10BIT_OFF},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

static MV_HWS_PORT_INIT_PARAMS hwsPort11ExtendedInitParams[] = {
  /* port mode,   MAC Type    Mac Num    PCS Type    PCS Num    FEC       Speed      FirstLane LanesNum  LanesPtr   Media         10Bit */
  /* used here for combo ports implementation, like 1000BaseX, but on extended MAC */
  {_100Base_FX,   GEMAC_X,    14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  { SGMII,        GEMAC_SG,   14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_1000Base_X,   GEMAC_X,    14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {SGMII2_5,      GEMAC_X,    14,        GPCS,       14,        FEC_OFF,  _3_125G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  /* used here for combo ports implementation, like SGMII 1G, but on extended MAC */
  {QSGMII,        GEMAC_SG,   14,        GPCS,       14,        FEC_OFF,   _1_25G,   20,        1,         0,        XAUI_MEDIA,  _10BIT_ON},
  {_10GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_KX2,  XGMAC,      14,        XPCS,       7,         FEC_OFF,  _6_25G,    20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_10GBase_KR,   XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_KR,   XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_KR,   MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  /* actually 100G not supported, used here for combo ports implementation, like 10G KR, but on extended MAC */
  {_100GBase_KR10,XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {HGL,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RHGL,          HGLMAC,     14,        HGLPCS,     7,         FEC_OFF,  _6_25G,    20,        3,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {CHGL,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {RXAUI,         XGMAC,      14,        XPCS,       7,         FEC_OFF,  _6_25G,    20,        2,         0,        RXAUI_MEDIA, _10BIT_OFF},
  {_20GBase_KX4,  MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_OFF,  SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_10GBase_SR_LR,XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_20GBase_SR_LR,XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _10_3125G, 20,        2,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {_40GBase_SR_LR,MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,         0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_12_5GBase_KR, XLGMAC,     14,        MMPCS,      14,        FEC_OFF,  _12_5G,    20,        1,         0,        XAUI_MEDIA,  _10BIT_OFF},
  {XLHGL_KR4,     MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGL16G,        MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS,           MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {HGS4,          MAC_NA,     NA_NUM,    PCS_NA,     NA_NUM,    FEC_NA,   SPEED_NA,  0,        0,         0,        XAUI_MEDIA,  _10BIT_NA},
  {_100GBase_SR10,              MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL_LR12,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {TCAM,                        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_6_25G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_10_3125G,     MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_12Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_12_5G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_16Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_24Lanes_3_125G,       MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {CHGL11_LR12,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_3_125G,        MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_4Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {INTLKN_8Lanes_6_25G,         MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_2_5GBase_QX,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_DQX,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_5GBase_HX,                  MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBaseR,                   XLGMAC,     14,         MMPCS,      14,         FEC_OFF,        _12_1875G,  20,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_5GBaseR,                    MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_48GBaseR,                   MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},
  {_12GBase_SR,                 XLGMAC,     11,         MMPCS,      11,         FEC_OFF,        _12_1875G,  15,     1,      0,      XAUI_MEDIA,     _10BIT_OFF},
  {_48GBase_SR,                 MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_OFF,        SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA},

  {NON_SUP_MODE,                MAC_NA,     NA_NUM,     PCS_NA,     NA_NUM,     FEC_NA,         SPEED_NA,   0,      0,      0,      XAUI_MEDIA,     _10BIT_NA}
};

/* array of all ports init parameters */
MV_HWS_PORT_INIT_PARAMS *hwsPortsLion2Params[] =
{
    hwsPort0InitParams,
    hwsPort1InitParams,
    hwsPort2InitParams,
    hwsPort3InitParams,
    hwsPort4InitParams,
    hwsPort5InitParams,
    hwsPort6InitParams,
    hwsPort7InitParams,
    hwsPort8InitParams,
    hwsPort9InitParams,
    hwsPort10InitParams,
    hwsPort11InitParams,
    hwsPort9ExtendedInitParams, /* contains Port 9 externded mode parameters as Port 12 */
    hwsPort11ExtendedInitParams /* contains Port 11 externded mode parameters as Port 13 */
};


